using Moq;
using OpenWaves.ActivityFeed.Web;

namespace OpenWaves.ActivityFeed.UnitTests.Web
{
    internal class UserProfileProviderMockFactory
    {
        public static Mock<IUserProfileProvider> GetSimpleMock()
        {
            var userInfoProviderMock = new Mock<IUserProfileProvider>();
            userInfoProviderMock.Setup(provider => provider.GetUserProfile(It.IsAny<string>())).Returns((string id) => new FakeUserInfo
            {
                Name = id,
                PhotoUrl = "1243"
            });
            return userInfoProviderMock;
        }
    }
}